package com.zy.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;
@Data
@Table(
        name = "t_menu"
)
public class Menu {
    @Id
    private Integer mid;
    private String mname;
    private Integer mpid;
    private String murl;
    private String mpath;
    private Integer micon;
    @Transient
    List<Menu> menuList;
}
